package entity;

import java.io.Serializable;

public class AClass implements Serializable {
    private static final long serialVersionUID = -7421509755018957680L;
    private String className;
    private String Grade;
    private String teacher;
    private String kouHao;
    private String capacity;

    public AClass(String className, String grade, String teacher, String kouHao, String capacity) {
        this.className = className;
        Grade = grade;
        this.teacher = teacher;
        this.kouHao = kouHao;
        this.capacity = capacity;
    }

    @Override
    public String toString() {
        return "AClass{" +
                "className='" + className + '\'' +
                ", Grade='" + Grade + '\'' +
                ", teacher='" + teacher + '\'' +
                ", kouHao='" + kouHao + '\'' +
                ", capacity='" + capacity + '\'' +
                '}';
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getGrade() {
        return Grade;
    }

    public void setGrade(String grade) {
        Grade = grade;
    }

    public String getTeacher() {
        return teacher;
    }

    public void setTeacher(String teacher) {
        this.teacher = teacher;
    }

    public String getKouHao() {
        return kouHao;
    }

    public void setKouHao(String kouHao) {
        this.kouHao = kouHao;
    }

    public String getCapacity() {
        return capacity;
    }

    public void setCapacity(String capacity) {
        this.capacity = capacity;
    }
}
